package ewms.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
import javax.validation.constraints.*;


/**
 * 危废转库明细编辑对象 ewms_transfer_warehouse_detail
 *
 * @author zhaoxiaochun
 * @date 2022-02-15
 */
@Data
@ApiModel("危废转库明细编辑对象")
public class EwmsTransferWarehouseDetailEditBo {


    /** 转库明细id */
    @ApiModelProperty("转库明细id")
    private Long transferWarehouseDetailId;

    /** 转库主表id */
    @ApiModelProperty("转库主表id")
    @NotNull(message = "转库主表id不能为空")
    private Long transferWarehouseId;

    /** 危废库存记录id */
    @ApiModelProperty("危废库存记录id")
    @NotNull(message = "危废库存记录id不能为空")
    private Long wasteInventoryId;

    /** 来源仓库id */
    @ApiModelProperty("来源仓库id")
    @NotNull(message = "来源仓库id不能为空")
    private Long fromWarehouseId;

    /** 更新者 */
    @ApiModelProperty("更新者")
    private String updateBy;

    /** 更新时间 */
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
}
